export function h0(timestamp) {
  timestamp = timestamp ? timestamp : Date.now()
  const target = new Date(timestamp)
  target.setHours(0)
  target.setMinutes(0)
  target.setSeconds(0)
  target.setMilliseconds(0)

  return target.getTime()
}
